package com.example.java;


public class Obj2 implements Cloneable {
	private int ar=0;

	
	public int getAr() {
		return ar;
	}

	public void setAr(int ar) {
		this.ar = ar;
	}
	
	public void changeAr(){
		ar=1;
	}
	
	protected Object clone(){
		Object ss = null;
		
		try {
			ss = super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return ss;
		
	}
	
}
